Skip to content

Stop framework headers from exposing private performance APIs (#58011) - #58011

Closed
coado wants to merge 2 commits into
react:mainfrom
coado:export-D116621742
Closed

Stop framework headers from exposing private performance APIs (#58011)#58011
coado wants to merge 2 commits into
react:mainfrom
coado:export-D116621742

Conversation

@coado

@coado coado commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary:

Move private performance includes out of framework-facing scheduler headers and into their implementation files. Store the conditional CDP reporters behind unique pointers so their declarations can remain private implementation details.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D116621742

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 19, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Aug 19, 2026
@meta-codesync

meta-codesync Bot commented Aug 19, 2026

Copy link
Copy Markdown

@coado has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116621742.

@meta-codesync meta-codesync Bot changed the title Stop framework headers from exposing private performance APIs Stop framework headers from exposing private performance APIs (#58011) Aug 21, 2026
coado added a commit to coado/react-native that referenced this pull request Aug 21, 2026
…58011)

Summary:

Move private performance includes out of framework-facing scheduler headers and into their implementation files. Store the conditional CDP reporters behind unique pointers so their declarations can remain private implementation details.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D116621742
@coado
coado force-pushed the export-D116621742 branch 2 times, most recently from eeb9d1e to b3aab88 Compare August 24, 2026 12:07
coado pushed a commit to coado/react-native that referenced this pull request Aug 24, 2026
…58011)

Summary:

Move private performance includes out of framework-facing scheduler headers and into their implementation files. Store the conditional CDP reporters behind unique pointers so their declarations can remain private implementation details.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D116621742
…7320)

Summary:

Adds private guards to `react/performance/timeline:timeline` and
`react/performance/cdpmetrics:cdpmetrics` headers preventing from inclusions when `RN_STABLE_API`  is turned on.

Changelog:
[Internal]

Reviewed By: cipolleschi

Differential Revision: D109558177
…58011)

Summary:

Move private performance includes out of framework-facing scheduler headers and into their implementation files. Store the conditional CDP reporters behind unique pointers so their declarations can remain private implementation details.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D116621742
@coado
coado force-pushed the export-D116621742 branch from b3aab88 to 9968f25 Compare August 25, 2026 06:15
@j-piasecki j-piasecki closed this Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants